<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>阿阳的测试平台</title>
    <link rel="stylesheet" href="styles/deepseek-chat.css">
    <link rel="stylesheet" href="styles/user-center.css">
    <link rel="stylesheet" href="styles/test-case-generator.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', sans-serif;
        }

        /* 导航栏样式 */
        .navbar {
            background-color: #2c3e50;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: white;
        }

        .platform-name {
            font-size: 24px;
            font-weight: bold;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 30px;
            position: relative;
            margin-left: auto;
        }

        .deepseek-btn {
            padding: 8px 16px;
            background-color: #3498db;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
            z-index: 998;
            margin-right: 20px;
        }

        .deepseek-btn:hover {
            background-color: #2980b9;
        }

        .user-center {
            cursor: pointer;
        }

        /* 主要内容区域样式 */
        .container {
            display: flex;
            min-height: calc(100vh - 60px);
        }

        /* 侧边栏样式 */
        .sidebar {
            width: 200px;
            background-color: #34495e;
            padding: 20px 0;
        }

        .sidebar-menu {
            list-style: none;
        }

        .sidebar-menu li {
            padding: 15px 25px;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .sidebar-menu li:hover {
            background-color: #2c3e50;
        }

        /* 主要内容区域 */
        .main-content {
            flex: 1;
            padding: 20px;
            background-color: #f5f6fa;
        }

        .welcome-message {
            font-size: 24px;
            color: #2c3e50;
            margin-bottom: 20px;
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <div class="navbar">
        <div class="platform-name">阿阳的测试平台</div>
        <div class="nav-right">
            <div class="deepseek-btn">DeepSeek</div>
            <div class="user-center">个人中心</div>
        </div>
    </div>

    <!-- 主要内容区域 -->
    <div class="container">
        <!-- 侧边栏 -->
        <div class="sidebar">
            <ul class="sidebar-menu">
                <li>测试用例生成</li>
                <li>接口测试</li>
                <li>Web测试</li>
                <li>性能测试</li>
                <li>APP测试</li>
            </ul>
        </div>

        <!-- 主要内容区域 -->
        <div class="main-content">
            <div class="welcome-message">
                欢迎使用自动化测试平台
            </div>
        </div>
    </div>

    <script src="js/deepseek-chat.js"></script>
    <script src="js/user-center.js"></script>
    <script src="js/test-case-generator.js"></script>
    <script>            
        // 初始化 DeepSeek 聊天功能
        new DeepSeekChat();
        // 初始化个人中心功能
        new UserCenter();
        new TestCaseGenerator();
    </script>
</body>
</html>
